/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.warehouse.entity;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 仓库管理Entity
 * @author madara
 * @version 2018-09-20
 */
public class Warehouse extends DataEntity<Warehouse> {

	private static final long serialVersionUID = 1L;

	private String warehouseName; // 库房名称

	private String warehouseType; // 库房类型

	private String warehouseState; // 库房状态

	public Warehouse() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public Warehouse(String id) {
		super(id);
	}

	@Override
	@ExcelField(title = "部门id", align = 2, sort = 7)
	public String getDepartmentId() {
		return departmentId;
	}

	@Override
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	@Override
	@ExcelField(title = "公司id", align = 2, sort = 8)
	public String getCompanyId() {
		return companyId;
	}

	@Override
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	@Override
	@ExcelField(title = "岗位id", align = 2, sort = 9)
	public String getStationId() {
		return stationId;
	}

	@Override
	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	@ExcelField(title = "库房名称", align = 2, sort = 10)
	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	@ExcelField(title = "库房类型", dictType = "sc_warehouse_type", align = 2, sort = 11)
	public String getWarehouseType() {
		return warehouseType;
	}

	public void setWarehouseType(String warehouseType) {
		this.warehouseType = warehouseType;
	}

	@ExcelField(title = "库房状态", align = 2, sort = 12)
	public String getWarehouseState() {
		return warehouseState;
	}

	public void setWarehouseState(String warehouseState) {
		this.warehouseState = warehouseState;
	}

	public enum WarehouseType {
		PRODUCT(1);

		private Integer value;

		private WarehouseType(Integer value) {

			this.value = value;
		}

		public Integer getValue() {
			return value;
		}
	}

}